package com.solace.activiti7modeler.service;


import com.solace.activiti7modeler.dto.ProcessDefinitionDTO;

import java.util.Collection;

public interface ProcessDefinitionService {

    ProcessDefinitionDTO getProcessDefinitionByName(String processDefinitionName);

    Collection<ProcessDefinitionDTO> getProcessDefinitions();

    void deleteProcessDefinitionByName(String processDefinitionName);

    void cascadeDeleteProcessDefinitionByName(String processDefinitionName);
}
